import requests
# it not works!
response = requests.put(
    "http://192.168.20.208:19999/tmp/teste.json",
    data=open("teste.json", "rb").read(),
    headers={"Content-Type": "application/octet-stream"}
)